

using System;
using System.Runtime.Serialization;

namespace PolePosition.v3.EntityLibrary
{
	// Class-level comments are in VendorDistributionPoleEntity.cs
    /// <summary>
    /// 
    /// </summary>
	/// <remarks>Initial Generation Date: viernes, 03 de septiembre de 2010</remarks>
	public sealed partial class VendorDistributionPoleEntity
	{
		
	#region " Collections "

	// FK_tb_Vendor_Distribution_Images_tb_Vendor_Distribution_Poles : True
	// FK_tb_Vendor_Distribution_Meters_tb_Vendor_Distribution_Poles : True
	// FK_tb_Vendor_Distribution_PhasesXPole_tb_Vendor_Distribution_Poles : False
	// FK_tb_Vendor_Distribution_Poles_tb_Distribution_Classes : False
	// FK_tb_Vendor_Distribution_Poles_tb_Distribution_Lengths : False
	// FK_tb_Vendor_Distribution_Poles_tb_Utility_Asset_Distributions : False
	// FK_tb_Vendor_Distribution_Poles_tb_Utility_Polygons : False
	// FK_tb_Vendor_Distribution_Poles_tb_Vendor_Distribution_Lookups : False
	// FK_tb_Vendor_Distribution_Poles_tb_Vendor_Distribution_Lookups1 : False
	// FK_tb_Vendor_Distribution_Poles_tb_Vendor_Distribution_Lookups2 : False
	// FK_tb_Vendor_Distribution_Poles_tb_Vendor_Distribution_Poles : False
	// FK_tb_Vendor_Distribution_Poles_tb_Vendor_Projects : False
	// FK_tb_Vendor_Distribution_Poles_tb_Vendors : False
	// FK_tb_Vendor_Distribution_Poles_tb_XMissionStructures_PoleSpecies : False
	// FK_tb_Vendor_Distribution_Poles_tb_XMissionStructures_PoleTreatments : False
	// FK_tb_Vendor_Distribution_Reclosers_tb_Vendor_Distribution_Poles : True
	// FK_tb_Vendor_Distribution_Results_tb_Vendor_Distribution_Poles : True
	// FK_tb_Vendor_Distribution_Results_tb_Vendor_Distribution_Poles1 : False
	// FK_tb_Vendor_Distribution_Sectionalizers_tb_Vendor_Distribution_Poles : True
	// FK_tb_Vendor_Distribution_TopsXPole_tb_Vendor_Distribution_Poles : False
	// FK_tb_Vendor_Distribution_Transformers_tb_Vendor_Distribution_Poles : True

	#region Collection Property: VendorDistributionImageCollection
	
		/// <summary>
		/// Stores a collection of VendorDistributionImage Entities.
		/// </summary>
		private ProjectCommon2.Generics.EntityCollection< PolePosition.v3.EntityLibrary.VendorDistributionImageEntity> prop_VendorDistributionImageCollection;
		
		/// <summary>
        /// Gets or Sets the collection of VendorDistributionImage Entities associated with this VendorDistributionPoleEntity.
        /// </summary>
        /// <remarks><para>The Entities in this collection represent the rows from the VendorDistributionImages table
		/// that are associated with the row in the VendorDistributionPoles table for this Entity through a Foreign Key 
		/// relationship. The relationship is
		/// defined as "one (tb_Vendor_Distribution_Poles.Vendor_Distribution_Poles_PoleId) to
		/// many (tb_Vendor_Distribution_Images.Vendor_Distribution_PoleFk)", where:</para><para>
		/// PrimaryTable = tb_Vendor_Distribution_Poles<para></para>
		/// PrimaryTableKey = Vendor_Distribution_Poles_PoleId<para></para>
		/// ForeignTable = tb_Vendor_Distribution_Images<para></para>
		/// ForeignTableKey = Vendor_Distribution_PoleFk</para>
		/// <para>The Entities are used to obtain additional or supporting information about VendorDistributionPoleEntity.
		/// Since the Entities can be of any type, this gives the VendorDistributionPoleEntity a lot of flexibility as to
		/// the amount and type of data that can be associated with it.</para></remarks>
        /// <value>An <see cref="ProjectCommon2.Generics.EntityCollection&lt;EntityType&gt;" /> containing Entities
		/// of type <see cref="Classes.Entities.VendorDistributionImageEntity" />.</value>
		[DataMember()]
		public ProjectCommon2.Generics.EntityCollection< PolePosition.v3.EntityLibrary.VendorDistributionImageEntity>   VendorDistributionImageCollection
		{
			get {return prop_VendorDistributionImageCollection;}
			set {prop_VendorDistributionImageCollection = value;}
		}

	#endregion
	#region Collection Property: VendorDistributionMeterCollection
	
		/// <summary>
		/// Stores a collection of VendorDistributionMeter Entities.
		/// </summary>
		private ProjectCommon2.Generics.EntityCollection< PolePosition.v3.EntityLibrary.VendorDistributionMeterEntity> prop_VendorDistributionMeterCollection;
		
		/// <summary>
        /// Gets or Sets the collection of VendorDistributionMeter Entities associated with this VendorDistributionPoleEntity.
        /// </summary>
        /// <remarks><para>The Entities in this collection represent the rows from the VendorDistributionMeters table
		/// that are associated with the row in the VendorDistributionPoles table for this Entity through a Foreign Key 
		/// relationship. The relationship is
		/// defined as "one (tb_Vendor_Distribution_Poles.Vendor_Distribution_Poles_PoleId) to
		/// many (tb_Vendor_Distribution_Meters.Vendor_Distribution_PoleFk)", where:</para><para>
		/// PrimaryTable = tb_Vendor_Distribution_Poles<para></para>
		/// PrimaryTableKey = Vendor_Distribution_Poles_PoleId<para></para>
		/// ForeignTable = tb_Vendor_Distribution_Meters<para></para>
		/// ForeignTableKey = Vendor_Distribution_PoleFk</para>
		/// <para>The Entities are used to obtain additional or supporting information about VendorDistributionPoleEntity.
		/// Since the Entities can be of any type, this gives the VendorDistributionPoleEntity a lot of flexibility as to
		/// the amount and type of data that can be associated with it.</para></remarks>
        /// <value>An <see cref="ProjectCommon2.Generics.EntityCollection&lt;EntityType&gt;" /> containing Entities
		/// of type <see cref="Classes.Entities.VendorDistributionMeterEntity" />.</value>
		[DataMember()]
		public ProjectCommon2.Generics.EntityCollection< PolePosition.v3.EntityLibrary.VendorDistributionMeterEntity>   VendorDistributionMeterCollection
		{
			get {return prop_VendorDistributionMeterCollection;}
			set {prop_VendorDistributionMeterCollection = value;}
		}

	#endregion
	#region Collection Property: VendorDistributionRecloserCollection
	
		/// <summary>
		/// Stores a collection of VendorDistributionRecloser Entities.
		/// </summary>
		private ProjectCommon2.Generics.EntityCollection< PolePosition.v3.EntityLibrary.VendorDistributionRecloserEntity> prop_VendorDistributionRecloserCollection;
		
		/// <summary>
        /// Gets or Sets the collection of VendorDistributionRecloser Entities associated with this VendorDistributionPoleEntity.
        /// </summary>
        /// <remarks><para>The Entities in this collection represent the rows from the VendorDistributionReclosers table
		/// that are associated with the row in the VendorDistributionPoles table for this Entity through a Foreign Key 
		/// relationship. The relationship is
		/// defined as "one (tb_Vendor_Distribution_Poles.Vendor_Distribution_Poles_PoleId) to
		/// many (tb_Vendor_Distribution_Reclosers.Vendor_Distribution_PoleFk)", where:</para><para>
		/// PrimaryTable = tb_Vendor_Distribution_Poles<para></para>
		/// PrimaryTableKey = Vendor_Distribution_Poles_PoleId<para></para>
		/// ForeignTable = tb_Vendor_Distribution_Reclosers<para></para>
		/// ForeignTableKey = Vendor_Distribution_PoleFk</para>
		/// <para>The Entities are used to obtain additional or supporting information about VendorDistributionPoleEntity.
		/// Since the Entities can be of any type, this gives the VendorDistributionPoleEntity a lot of flexibility as to
		/// the amount and type of data that can be associated with it.</para></remarks>
        /// <value>An <see cref="ProjectCommon2.Generics.EntityCollection&lt;EntityType&gt;" /> containing Entities
		/// of type <see cref="Classes.Entities.VendorDistributionRecloserEntity" />.</value>
		[DataMember()]
		public ProjectCommon2.Generics.EntityCollection< PolePosition.v3.EntityLibrary.VendorDistributionRecloserEntity>   VendorDistributionRecloserCollection
		{
			get {return prop_VendorDistributionRecloserCollection;}
			set {prop_VendorDistributionRecloserCollection = value;}
		}

	#endregion
	#region Collection Property: VendorDistributionInspectionResultCollection
	
		/// <summary>
		/// Stores a collection of VendorDistributionInspectionResult Entities.
		/// </summary>
		private ProjectCommon2.Generics.EntityCollection< PolePosition.v3.EntityLibrary.VendorDistributionInspectionResultEntity> prop_VendorDistributionInspectionResultCollection;
		
		/// <summary>
        /// Gets or Sets the collection of VendorDistributionInspectionResult Entities associated with this VendorDistributionPoleEntity.
        /// </summary>
        /// <remarks><para>The Entities in this collection represent the rows from the VendorDistributionInspectionResults table
		/// that are associated with the row in the VendorDistributionPoles table for this Entity through a Foreign Key 
		/// relationship. The relationship is
		/// defined as "one (tb_Vendor_Distribution_Poles.Vendor_Distribution_Poles_PoleId) to
		/// many (tb_Vendor_Distribution_InspectionResults.Vendor_Distribution_PoleFk)", where:</para><para>
		/// PrimaryTable = tb_Vendor_Distribution_Poles<para></para>
		/// PrimaryTableKey = Vendor_Distribution_Poles_PoleId<para></para>
		/// ForeignTable = tb_Vendor_Distribution_InspectionResults<para></para>
		/// ForeignTableKey = Vendor_Distribution_PoleFk</para>
		/// <para>The Entities are used to obtain additional or supporting information about VendorDistributionPoleEntity.
		/// Since the Entities can be of any type, this gives the VendorDistributionPoleEntity a lot of flexibility as to
		/// the amount and type of data that can be associated with it.</para></remarks>
        /// <value>An <see cref="ProjectCommon2.Generics.EntityCollection&lt;EntityType&gt;" /> containing Entities
		/// of type <see cref="Classes.Entities.VendorDistributionInspectionResultEntity" />.</value>
		[DataMember()]
		public ProjectCommon2.Generics.EntityCollection< PolePosition.v3.EntityLibrary.VendorDistributionInspectionResultEntity>   VendorDistributionInspectionResultCollection
		{
			get {return prop_VendorDistributionInspectionResultCollection;}
			set {prop_VendorDistributionInspectionResultCollection = value;}
		}

	#endregion
	#region Collection Property: VendorDistributionSectionalizerCollection
	
		/// <summary>
		/// Stores a collection of VendorDistributionSectionalizer Entities.
		/// </summary>
		private ProjectCommon2.Generics.EntityCollection< PolePosition.v3.EntityLibrary.VendorDistributionSectionalizerEntity> prop_VendorDistributionSectionalizerCollection;
		
		/// <summary>
        /// Gets or Sets the collection of VendorDistributionSectionalizer Entities associated with this VendorDistributionPoleEntity.
        /// </summary>
        /// <remarks><para>The Entities in this collection represent the rows from the VendorDistributionSectionalizers table
		/// that are associated with the row in the VendorDistributionPoles table for this Entity through a Foreign Key 
		/// relationship. The relationship is
		/// defined as "one (tb_Vendor_Distribution_Poles.Vendor_Distribution_Poles_PoleId) to
		/// many (tb_Vendor_Distribution_Sectionalizers.Vendor_Distribution_PoleFk)", where:</para><para>
		/// PrimaryTable = tb_Vendor_Distribution_Poles<para></para>
		/// PrimaryTableKey = Vendor_Distribution_Poles_PoleId<para></para>
		/// ForeignTable = tb_Vendor_Distribution_Sectionalizers<para></para>
		/// ForeignTableKey = Vendor_Distribution_PoleFk</para>
		/// <para>The Entities are used to obtain additional or supporting information about VendorDistributionPoleEntity.
		/// Since the Entities can be of any type, this gives the VendorDistributionPoleEntity a lot of flexibility as to
		/// the amount and type of data that can be associated with it.</para></remarks>
        /// <value>An <see cref="ProjectCommon2.Generics.EntityCollection&lt;EntityType&gt;" /> containing Entities
		/// of type <see cref="Classes.Entities.VendorDistributionSectionalizerEntity" />.</value>
		[DataMember()]
		public ProjectCommon2.Generics.EntityCollection< PolePosition.v3.EntityLibrary.VendorDistributionSectionalizerEntity>   VendorDistributionSectionalizerCollection
		{
			get {return prop_VendorDistributionSectionalizerCollection;}
			set {prop_VendorDistributionSectionalizerCollection = value;}
		}

	#endregion
	#region Collection Property: VendorDistributionTransformerCollection
	
		/// <summary>
		/// Stores a collection of VendorDistributionTransformer Entities.
		/// </summary>
		private ProjectCommon2.Generics.EntityCollection< PolePosition.v3.EntityLibrary.VendorDistributionTransformerEntity> prop_VendorDistributionTransformerCollection;
		
		/// <summary>
        /// Gets or Sets the collection of VendorDistributionTransformer Entities associated with this VendorDistributionPoleEntity.
        /// </summary>
        /// <remarks><para>The Entities in this collection represent the rows from the VendorDistributionTransformers table
		/// that are associated with the row in the VendorDistributionPoles table for this Entity through a Foreign Key 
		/// relationship. The relationship is
		/// defined as "one (tb_Vendor_Distribution_Poles.Vendor_Distribution_Poles_PoleId) to
		/// many (tb_Vendor_Distribution_Transformers.Vendor_Distribution_PoleFk)", where:</para><para>
		/// PrimaryTable = tb_Vendor_Distribution_Poles<para></para>
		/// PrimaryTableKey = Vendor_Distribution_Poles_PoleId<para></para>
		/// ForeignTable = tb_Vendor_Distribution_Transformers<para></para>
		/// ForeignTableKey = Vendor_Distribution_PoleFk</para>
		/// <para>The Entities are used to obtain additional or supporting information about VendorDistributionPoleEntity.
		/// Since the Entities can be of any type, this gives the VendorDistributionPoleEntity a lot of flexibility as to
		/// the amount and type of data that can be associated with it.</para></remarks>
        /// <value>An <see cref="ProjectCommon2.Generics.EntityCollection&lt;EntityType&gt;" /> containing Entities
		/// of type <see cref="Classes.Entities.VendorDistributionTransformerEntity" />.</value>
		[DataMember()]
		public ProjectCommon2.Generics.EntityCollection< PolePosition.v3.EntityLibrary.VendorDistributionTransformerEntity>   VendorDistributionTransformerCollection
		{
			get {return prop_VendorDistributionTransformerCollection;}
			set {prop_VendorDistributionTransformerCollection = value;}
		}

	#endregion
	
	#endregion

	}
}
